var criteria = 
{ Name: "ESG Risk Rating", Level2: [
    { Name: "Indicators", Level3: [
		{ Name: "E.1.1 Environmental Policy", Level4: [{ Name: "E.1.1 Environmental Policy", NameTemplate: "E.1.1 Environmental Policy-Raw Score", CriteriaEntityField: "E11 Environmental Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2 Environmental Management System", Level4: [{ Name: "E.1.2 Environmental Management System", NameTemplate: "E.1.2 Environmental Management System-Raw Score", CriteriaEntityField: "E12 Environmental Management System-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.1 Biodiversity Programmes", Level4: [{ Name: "E.1.2.1 Biodiversity Programmes", NameTemplate: "E.1.2.1 Biodiversity Programmes-Raw Score", CriteriaEntityField: "E121 Biodiversity Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.2 Site Closure & Rehabilitation", Level4: [{ Name: "E.1.2.2 Site Closure & Rehabilitation", NameTemplate: "E.1.2.2 Site Closure & Rehabilitation-Raw Score", CriteriaEntityField: "E122 Site Closure & Rehabilitation-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.4 Oil Spill Disclosure & Performance", Level4: [{ Name: "E.1.2.4 Oil Spill Disclosure & Performance", NameTemplate: "E.1.2.4 Oil Spill Disclosure & Performance-Raw Score", CriteriaEntityField: "E124 Oil Spill Disclosure & Performance-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.6.2 Mineral Waste Management", Level4: [{ Name: "E.1.2.6.2 Mineral Waste Management", NameTemplate: "E.1.2.6.2 Mineral Waste Management-Raw Score", CriteriaEntityField: "E1262 Mineral Waste Management-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.7 Water Intensity", Level4: [{ Name: "E.1.2.7 Water Intensity", NameTemplate: "E.1.2.7 Water Intensity-Raw Score", CriteriaEntityField: "E127 Water Intensity-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.2.8 Forest Certifications", Level4: [{ Name: "E.1.2.8 Forest Certifications", NameTemplate: "E.1.2.8 Forest Certifications-Raw Score", CriteriaEntityField: "E128 Forest Certifications", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.3 EMS Certification", Level4: [{ Name: "E.1.3 EMS Certification", NameTemplate: "E.1.3 EMS Certification-Raw Score", CriteriaEntityField: "E13 EMS Certification-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.3.1 Emergency Response Programme", Level4: [{ Name: "E.1.3.1 Emergency Response Programme", NameTemplate: "E.1.3.1 Emergency Response Programme-Raw Score", CriteriaEntityField: "E131 Emergency Response Programme-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.3.2 Hazardous Waste Management", Level4: [{ Name: "E.1.3.2 Hazardous Waste Management", NameTemplate: "E.1.3.2 Hazardous Waste Management-Raw Score", CriteriaEntityField: "E132 Hazardous Waste Management-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.3.3 Air Emissions Programmes", Level4: [{ Name: "E.1.3.3 Air Emissions Programmes", NameTemplate: "E.1.3.3 Air Emissions Programmes-Raw Score", CriteriaEntityField: "E133 Air Emissions Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.3.4 Water Management Programmes", Level4: [{ Name: "E.1.3.4 Water Management Programmes", NameTemplate: "E.1.3.4 Water Management Programmes-Raw Score", CriteriaEntityField: "E134 Water Management Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.4 Environmental Fines & Penalties", Level4: [{ Name: "E.1.4 Environmental Fines & Penalties", NameTemplate: "E.1.4 Environmental Fines & Penalties-Raw Score", CriteriaEntityField: "E14 Environmental Fines & Penalties-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.5 CDP Participation", Level4: [{ Name: "E.1.5 CDP Participation", NameTemplate: "E.1.5 CDP Participation-Raw Score", CriteriaEntityField: "E15 CDP Participation-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.6 Scope of GHG Reporting", Level4: [{ Name: "E.1.6 Scope of GHG Reporting", NameTemplate: "E.1.6 Scope of GHG Reporting-Raw Score", CriteriaEntityField: "E16 Scope of GHG Reporting-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.7.0 GHG Reduction Programme", Level4: [{ Name: "E.1.7.0 GHG Reduction Programme", NameTemplate: "E.1.7.0 GHG Reduction Programme-Raw Score", CriteriaEntityField: "E170 GHG Reduction Programme-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.7.1 Green Logistics Programmes", Level4: [{ Name: "E.1.7.1 Green Logistics Programmes", NameTemplate: "E.1.7.1 Green Logistics Programmes-Raw Score", CriteriaEntityField: "E171 Green Logistics Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.8 Renewable Energy Programmes", Level4: [{ Name: "E.1.8 Renewable Energy Programmes", NameTemplate: "E.1.8 Renewable Energy Programmes-Raw Score", CriteriaEntityField: "E18 Renewable Energy Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.9 Carbon Intensity", Level4: [{ Name: "E.1.9 Carbon Intensity", NameTemplate: "E.1.9 Carbon Intensity-Raw Score", CriteriaEntityField: "E19 Carbon Intensity-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.10 Carbon Intensity Trend", Level4: [{ Name: "E.1.10 Carbon Intensity Trend", NameTemplate: "E.1.10 Carbon Intensity Trend-Raw Score", CriteriaEntityField: "E110 Carbon Intensity Trend-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.1.11 Renewable Energy Use", Level4: [{ Name: "E.1.11 Renewable Energy Use", NameTemplate: "E.1.11 Renewable Energy Use-Raw Score", CriteriaEntityField: "E111 Renewable Energy Use-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1 Green Procurement Policy", Level4: [{ Name: "E.2.1 Green Procurement Policy", NameTemplate: "E.2.1 Green Procurement Policy-Raw Score", CriteriaEntityField: "E21 Green Procurement Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.1 Supplier Environmental Programmes", Level4: [{ Name: "E.2.1.1 Supplier Environmental Programmes", NameTemplate: "E.2.1.1 Supplier Environmental Programmes-Raw Score", CriteriaEntityField: "E211 Supplier Environmental Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.2 Supplier Environmental Certifications", Level4: [{ Name: "E.2.1.2 Supplier Environmental Certifications", NameTemplate: "E.2.1.2 Supplier Environmental Certifications-Raw Score", CriteriaEntityField: "E212 Supplier Environmental Certifications-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.3 Sustainable Agriculture Programmes", Level4: [{ Name: "E.2.1.3 Sustainable Agriculture Programmes", NameTemplate: "E.2.1.3 Sustainable Agriculture Programmes-Raw Score", CriteriaEntityField: "E213 Sustainable Agriculture Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.4 Sustainable Aquaculture Programmes", Level4: [{ Name: "E.2.1.4 Sustainable Aquaculture Programmes", NameTemplate: "E.2.1.4 Sustainable Aquaculture Programmes-Raw Score", CriteriaEntityField: "E214 Sustainable Aquaculture Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.5 Food & Beverage Sustainability Initiatives", Level4: [{ Name: "E.2.1.5 Food & Beverage Sustainability Initiatives", NameTemplate: "E.2.1.5 Food & Beverage Sustainability Initiatives-Raw Score", CriteriaEntityField: "E215 Food & Beverage Sustainability Initiatives-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.6 Green Outsourced Logistics Programmes", Level4: [{ Name: "E.2.1.6 Green Outsourced Logistics Programmes", NameTemplate: "E.2.1.6 Green Outsourced Logistics Programmes-Raw Score", CriteriaEntityField: "E216 Green Outsourced Logistics Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.7 Recycled Material Use", Level4: [{ Name: "E.2.1.7 Recycled Material Use", NameTemplate: "E.2.1.7 Recycled Material Use-Raw Score", CriteriaEntityField: "E217 Recycled Material Use-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.8 FSC Certified Sourcing", Level4: [{ Name: "E.2.1.8 FSC Certified Sourcing", NameTemplate: "E.2.1.8 FSC Certified Sourcing-Raw Score", CriteriaEntityField: "E218 FSC Certified Sourcing-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.9 Sustainable Food Programmes", Level4: [{ Name: "E.2.1.9 Sustainable Food Programmes", NameTemplate: "E.2.1.9 Sustainable Food Programmes-Raw Score", CriteriaEntityField: "E219 Sustainable Food Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.2.1.10 Food Retail Initiatives", Level4: [{ Name: "E.2.1.10 Food Retail Initiatives", NameTemplate: "E.2.1.10 Food Retail Initiatives-Raw Score", CriteriaEntityField: "E2110 Food Retail Initiatives-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.1 Sustainable Products & Services", Level4: [{ Name: "E.3.1.1 Sustainable Products & Services", NameTemplate: "E.3.1.1 Sustainable Products & Services-Raw Score", CriteriaEntityField: "E311 Sustainable Products & Services-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.3 Fleet Emissions", Level4: [{ Name: "E.3.1.3 Fleet Emissions", NameTemplate: "E.3.1.3 Fleet Emissions-Raw Score", CriteriaEntityField: "E313 Fleet Emissions-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.4 Fleet Emissions Trend", Level4: [{ Name: "E.3.1.4 Fleet Emissions Trend", NameTemplate: "E.3.1.4 Fleet Emissions Trend-Raw Score", CriteriaEntityField: "E314 Fleet Emissions Trend-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.5 Sustainable Mobility Products", Level4: [{ Name: "E.3.1.5 Sustainable Mobility Products", NameTemplate: "E.3.1.5 Sustainable Mobility Products-Raw Score", CriteriaEntityField: "E315 Sustainable Mobility Products-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.6 Eco-Design", Level4: [{ Name: "E.3.1.6 Eco-Design", NameTemplate: "E.3.1.6 Eco-Design-Raw Score", CriteriaEntityField: "E316 Eco-Design-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.7 Product Stewardship Programmes", Level4: [{ Name: "E.3.1.7 Product Stewardship Programmes", NameTemplate: "E.3.1.7 Product Stewardship Programmes-Raw Score", CriteriaEntityField: "E317 Product Stewardship Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.8 Organic Products", Level4: [{ Name: "E.3.1.8 Organic Products", NameTemplate: "E.3.1.8 Organic Products-Raw Score", CriteriaEntityField: "E318 Organic Products-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.9 GMO Policy", Level4: [{ Name: "E.3.1.9 GMO Policy", NameTemplate: "E.3.1.9 GMO Policy-Raw Score", CriteriaEntityField: "E319 GMO Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.10 Credit & Loan Standards", Level4: [{ Name: "E.3.1.10 Credit & Loan Standards", NameTemplate: "E.3.1.10 Credit & Loan Standards-Raw Score", CriteriaEntityField: "E3110 Credit & Loan Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.11 Responsible Asset Management", Level4: [{ Name: "E.3.1.11 Responsible Asset Management", NameTemplate: "E.3.1.11 Responsible Asset Management-Raw Score", CriteriaEntityField: "E3111 Responsible Asset Management-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.12 Real Estate LCA", Level4: [{ Name: "E.3.1.12 Real Estate LCA", NameTemplate: "E.3.1.12 Real Estate LCA-Raw Score", CriteriaEntityField: "E3112 Real Estate LCA-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.13 Green Buildings Investments", Level4: [{ Name: "E.3.1.13 Green Buildings Investments", NameTemplate: "E.3.1.13 Green Buildings Investments-Raw Score", CriteriaEntityField: "E3113 Green Buildings Investments-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.14 Share of Green Buildings", Level4: [{ Name: "E.3.1.14 Share of Green Buildings", NameTemplate: "E.3.1.14 Share of Green Buildings-Raw Score", CriteriaEntityField: "E3114 Share of Green Buildings-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.15 Sustainable Financial Initiatives", Level4: [{ Name: "E.3.1.15 Sustainable Financial Initiatives", NameTemplate: "E.3.1.15 Sustainable Financial Initiatives-Raw Score", CriteriaEntityField: "E3115 Sustainable Financial Initiatives-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.16 Hazardous Products", Level4: [{ Name: "E.3.1.16 Hazardous Products", NameTemplate: "E.3.1.16 Hazardous Products-Raw Score", CriteriaEntityField: "E3116 Hazardous Products-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "E.3.1.17 Energy Mix", Level4: [{ Name: "E.3.1.17 Energy Mix", NameTemplate: "E.3.1.17 Energy Mix-Raw Score", CriteriaEntityField: "E3117 Energy Mix-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.1 Freedom of Association Policy", Level4: [{ Name: "S.1.1 Freedom of Association Policy", NameTemplate: "S.1.1 Freedom of Association Policy-Raw Score", CriteriaEntityField: "S11 Freedom of Association Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.1.1 Working Conditions Policy", Level4: [{ Name: "S.1.1.1 Working Conditions Policy", NameTemplate: "S.1.1.1 Working Conditions Policy-Raw Score", CriteriaEntityField: "S111 Working Conditions Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.2 Discrimination Policy", Level4: [{ Name: "S.1.2 Discrimination Policy", NameTemplate: "S.1.2 Discrimination Policy-Raw Score", CriteriaEntityField: "S12 Discrimination Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.3 Diversity Programmes", Level4: [{ Name: "S.1.3 Diversity Programmes", NameTemplate: "S.1.3 Diversity Programmes-Raw Score", CriteriaEntityField: "S13 Diversity Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.4 Collective Bargaining Agreements", Level4: [{ Name: "S.1.4 Collective Bargaining Agreements", NameTemplate: "S.1.4 Collective Bargaining Agreements-Raw Score", CriteriaEntityField: "S14 Collective Bargaining Agreements-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.5 Employee Turnover Rate", Level4: [{ Name: "S.1.5 Employee Turnover Rate", NameTemplate: "S.1.5 Employee Turnover Rate-Raw Score", CriteriaEntityField: "S15 Employee Turnover Rate-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.5.1 Percentage of Temporary Workers", Level4: [{ Name: "S.1.5.1 Percentage of Temporary Workers", NameTemplate: "S.1.5.1 Percentage of Temporary Workers-Raw Score", CriteriaEntityField: "S151 Percentage of Temporary Workers-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.1 Employee Training", Level4: [{ Name: "S.1.6.1 Employee Training", NameTemplate: "S.1.6.1 Employee Training-Raw Score", CriteriaEntityField: "S161 Employee Training-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.2.1 Health and Safety Management System", Level4: [{ Name: "S.1.6.2.1 Health and Safety Management System", NameTemplate: "S.1.6.2.1 Health and Safety Management System-Raw Score", CriteriaEntityField: "S1621 Health and Safety Management System-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.3 HIV/Aids Programmes", Level4: [{ Name: "S.1.6.3 HIV/Aids Programmes", NameTemplate: "S.1.6.3 HIV/Aids Programmes-Raw Score", CriteriaEntityField: "S163 HIV/Aids Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.4 Health & Safety Certifications", Level4: [{ Name: "S.1.6.4 Health & Safety Certifications", NameTemplate: "S.1.6.4 Health & Safety Certifications-Raw Score", CriteriaEntityField: "S164 Health & Safety Certifications-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.5 LTIR Trend", Level4: [{ Name: "S.1.6.5 LTIR Trend", NameTemplate: "S.1.6.5 LTIR Trend-Raw Score", CriteriaEntityField: "S165 LTIR Trend-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.1.6.6 Employee Fatality Rate", Level4: [{ Name: "S.1.6.6 Employee Fatality Rate", NameTemplate: "S.1.6.6 Employee Fatality Rate-Raw Score", CriteriaEntityField: "S166 Employee Fatality Rate-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.1 Scope of Social Supplier Standards", Level4: [{ Name: "S.2.1 Scope of Social Supplier Standards", NameTemplate: "S.2.1 Scope of Social Supplier Standards-Raw Score", CriteriaEntityField: "S21 Scope of Social Supplier Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.1.1 Quality of Social Supplier Standards", Level4: [{ Name: "S.2.1.1 Quality of Social Supplier Standards", NameTemplate: "S.2.1.1 Quality of Social Supplier Standards-Raw Score", CriteriaEntityField: "S211 Quality of Social Supplier Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.1.2 EICC Signatory", Level4: [{ Name: "S.2.1.2 EICC Signatory", NameTemplate: "S.2.1.2 EICC Signatory-Raw Score", CriteriaEntityField: "S212 EICC Signatory-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.1.3 Conflict Minerals Policy", Level4: [{ Name: "S.2.1.3 Conflict Minerals Policy", NameTemplate: "S.2.1.3 Conflict Minerals Policy-Raw Score", CriteriaEntityField: "S213 Conflict Minerals Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.1.3.1 Conflict Minerals Programmes", Level4: [{ Name: "S.2.1.3.1 Conflict Minerals Programmes", NameTemplate: "S.2.1.3.1 Conflict Minerals Programmes-Raw Score", CriteriaEntityField: "S2131 Conflict Minerals Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.2 Supply Chain Monitoring", Level4: [{ Name: "S.2.2 Supply Chain Monitoring", NameTemplate: "S.2.2 Supply Chain Monitoring-Raw Score", CriteriaEntityField: "S22 Supply Chain Monitoring-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.2.2.1 Supply Chain Management", Level4: [{ Name: "S.2.2.2.1 Supply Chain Management", NameTemplate: "S.2.2.2.1 Supply Chain Management-Raw Score", CriteriaEntityField: "S.2.2.2.1 Supply Chain Management-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.2.3 Social Supplier Certification", Level4: [{ Name: "S.2.2.3 Social Supplier Certification", NameTemplate: "S.2.2.3 Social Supplier Certification-Raw Score", CriteriaEntityField: "S223 Social Supplier Certification-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.2.2.4 Fair Trade Products", Level4: [{ Name: "S.2.2.4 Fair Trade Products", NameTemplate: "S.2.2.4 Fair Trade Products-Raw Score", CriteriaEntityField: "S224 Fair Trade Products-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.1 Responsible Marketing Policy", Level4: [{ Name: "S.3.1.1 Responsible Marketing Policy", NameTemplate: "S.3.1.1 Responsible Marketing Policy-Raw Score", CriteriaEntityField: "S311 Responsible Marketing Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.2 Advertising Ethics Policy", Level4: [{ Name: "S.3.1.2 Advertising Ethics Policy", NameTemplate: "S.3.1.2 Advertising Ethics Policy-Raw Score", CriteriaEntityField: "S312 Advertising Ethics Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.3 Data Privacy Policy", Level4: [{ Name: "S.3.1.3 Data Privacy Policy", NameTemplate: "S.3.1.3 Data Privacy Policy-Raw Score", CriteriaEntityField: "S313 Data Privacy Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.4 Electromagnetic Safety Programmes", Level4: [{ Name: "S.3.1.4 Electromagnetic Safety Programmes", NameTemplate: "S.3.1.4 Electromagnetic Safety Programmes-Raw Score", CriteriaEntityField: "S314 Electromagnetic Safety Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.6 Editorial Guidelines", Level4: [{ Name: "S.3.1.6 Editorial Guidelines", NameTemplate: "S.3.1.6 Editorial Guidelines-Raw Score", CriteriaEntityField: "S316 Editorial Guidelines-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.7 Conflict of Interest Policy", Level4: [{ Name: "S.3.1.7 Conflict of Interest Policy", NameTemplate: "S.3.1.7 Conflict of Interest Policy-Raw Score", CriteriaEntityField: "S317 Conflict of Interest Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.8 Service Delays", Level4: [{ Name: "S.3.1.8 Service Delays", NameTemplate: "S.3.1.8 Service Delays-Raw Score", CriteriaEntityField: "S318 Service Delays-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.9 Product Health Statement", Level4: [{ Name: "S.3.1.9 Product Health Statement", NameTemplate: "S.3.1.9 Product Health Statement-Raw Score", CriteriaEntityField: "S319 Product Health Statement-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.10 Occupier Satisfaction Surveys", Level4: [{ Name: "S.3.1.10 Occupier Satisfaction Surveys", NameTemplate: "S.3.1.10 Occupier Satisfaction Surveys-Raw Score", CriteriaEntityField: "S3110 Occupier Satisfaction Surveys-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.11 Customer Eco-Efficiency Programmes", Level4: [{ Name: "S.3.1.11 Customer Eco-Efficiency Programmes", NameTemplate: "S.3.1.11 Customer Eco-Efficiency Programmes-Raw Score", CriteriaEntityField: "S3111 Customer Eco-Efficiency Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.1.12 Drug Promotion Standards", Level4: [{ Name: "S.3.1.12 Drug Promotion Standards", NameTemplate: "S.3.1.12 Drug Promotion Standards-Raw Score", CriteriaEntityField: "S3112 Drug Promotion Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.3.2.1 QMS Certifications", Level4: [{ Name: "S.3.2.1 QMS Certifications", NameTemplate: "S.3.2.1 QMS Certifications-Raw Score", CriteriaEntityField: "S321 QMS Certifications-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.1 Activities in Sensitive Countries", Level4: [{ Name: "S.4.1 Activities in Sensitive Countries", NameTemplate: "S.4.1 Activities in Sensitive Countries-Raw Score", CriteriaEntityField: "S41 Activities in Sensitive Countries-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.1 Human Rights Policy", Level4: [{ Name: "S.4.2.1 Human Rights Policy", NameTemplate: "S.4.2.1 Human Rights Policy-Raw Score", CriteriaEntityField: "S421 Human Rights Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.2 Community Involvement Programmes", Level4: [{ Name: "S.4.2.2 Community Involvement Programmes", NameTemplate: "S.4.2.2 Community Involvement Programmes-Raw Score", CriteriaEntityField: "S422 Community Involvement Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.3 Financial Inclusion", Level4: [{ Name: "S.4.2.3 Financial Inclusion", NameTemplate: "S.4.2.3 Financial Inclusion-Raw Score", CriteriaEntityField: "S423 Financial Inclusion-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.4 Access to Medicine Programme", Level4: [{ Name: "S.4.2.4 Access to Medicine Programme", NameTemplate: "S.4.2.4 Access to Medicine Programme-Raw Score", CriteriaEntityField: "S424 Access to Medicine Programme-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.5 Neglected Diseases R&D", Level4: [{ Name: "S.4.2.5 Neglected Diseases R&D", NameTemplate: "S.4.2.5 Neglected Diseases R&D-Raw Score", CriteriaEntityField: "S425 Neglected Diseases R&D-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.6 Equitable Pricing and Availability", Level4: [{ Name: "S.4.2.6 Equitable Pricing and Availability", NameTemplate: "S.4.2.6 Equitable Pricing and Availability-Raw Score", CriteriaEntityField: "S426 Equitable Pricing and Availability-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.7 Access to Health Care", Level4: [{ Name: "S.4.2.7 Access to Health Care", NameTemplate: "S.4.2.7 Access to Health Care-Raw Score", CriteriaEntityField: "S427 Access to Health Care-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.9 Indigenous Rights Policy", Level4: [{ Name: "S.4.2.9 Indigenous Rights Policy", NameTemplate: "S.4.2.9 Indigenous Rights Policy-Raw Score", CriteriaEntityField: "S429 Indigenous Rights Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.10 Access to Basic Services", Level4: [{ Name: "S.4.2.10 Access to Basic Services", NameTemplate: "S.4.2.10 Access to Basic Services-Raw Score", CriteriaEntityField: "S4210 Access to Basic Services-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.11 Community Development Programmes", Level4: [{ Name: "S.4.2.11 Community Development Programmes", NameTemplate: "S.4.2.11 Community Development Programmes-Raw Score", CriteriaEntityField: "S4211 Community Development Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.12 Digital Divide Programmes", Level4: [{ Name: "S.4.2.12 Digital Divide Programmes", NameTemplate: "S.4.2.12 Digital Divide Programmes-Raw Score", CriteriaEntityField: "S4212 Digital Divide Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.13 Drug Donations Policy", Level4: [{ Name: "S.4.2.13 Drug Donations Policy", NameTemplate: "S.4.2.13 Drug Donations Policy-Raw Score", CriteriaEntityField: "S4213 Drug Donations Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "S.4.2.14 Value of Drug Donations", Level4: [{ Name: "S.4.2.14 Value of Drug Donations", NameTemplate: "S.4.2.14 Value of Drug Donations-Raw Score", CriteriaEntityField: "S4214 Value of Drug Donations-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.1 Bribery & Corruption Policy", Level4: [{ Name: "G.1.1 Bribery & Corruption Policy", NameTemplate: "G.1.1 Bribery & Corruption Policy-Raw Score", CriteriaEntityField: "G11 Bribery & Corruption Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.1.1 Bribery & Corruption Programmes", Level4: [{ Name: "G.1.1.1 Bribery & Corruption Programmes", NameTemplate: "G.1.1.1 Bribery & Corruption Programmes-Raw Score", CriteriaEntityField: "G111 Bribery & Corruption Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.2 Whistleblower Programmes", Level4: [{ Name: "G.1.2 Whistleblower Programmes", NameTemplate: "G.1.2 Whistleblower Programmes-Raw Score", CriteriaEntityField: "G12 Whistleblower Programmes-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3 Global Compact Signatory", Level4: [{ Name: "G.1.3 Global Compact Signatory", NameTemplate: "G.1.3 Global Compact Signatory-Raw Score", CriteriaEntityField: "G13 Global Compact Signatory-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.1 PRI Signatory", Level4: [{ Name: "G.1.3.1 PRI Signatory", NameTemplate: "G.1.3.1 PRI Signatory-Raw Score", CriteriaEntityField: "G131 PRI Signatory-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.2 Responsible Investment Policy", Level4: [{ Name: "G.1.3.2 Responsible Investment Policy", NameTemplate: "G.1.3.2 Responsible Investment Policy-Raw Score", CriteriaEntityField: "G132 Responsible Investment Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.3 UNEPFI Signatory", Level4: [{ Name: "G.1.3.3 UNEPFI Signatory", NameTemplate: "G.1.3.3 UNEPFI Signatory-Raw Score", CriteriaEntityField: "G133 UNEPFI Signatory-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.4 Green Building Memberships", Level4: [{ Name: "G.1.3.4 Green Building Memberships", NameTemplate: "G.1.3.4 Green Building Memberships-Raw Score", CriteriaEntityField: "G134 Green Building Memberships-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.5 Equator Principles Signatory", Level4: [{ Name: "G.1.3.5 Equator Principles Signatory", NameTemplate: "G.1.3.5 Equator Principles Signatory-Raw Score", CriteriaEntityField: "G135 Equator Principles Signatory-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.3.6 Responsible Investment Programme", Level4: [{ Name: "G.1.3.6 Responsible Investment Programme", NameTemplate: "G.1.3.6 Responsible Investment Programme-Raw Score", CriteriaEntityField: "G136 Responsible Investment Programme-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4 Tax Disclosure", Level4: [{ Name: "G.1.4 Tax Disclosure", NameTemplate: "G.1.4 Tax Disclosure-Raw Score", CriteriaEntityField: "G14 Tax Disclosure-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4.1 Money Laundering Policy", Level4: [{ Name: "G.1.4.1 Money Laundering Policy", NameTemplate: "G.1.4.1 Money Laundering Policy-Raw Score", CriteriaEntityField: "G141 Money Laundering Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4.3 Animal Testing Policy", Level4: [{ Name: "G.1.4.3 Animal Testing Policy", NameTemplate: "G.1.4.3 Animal Testing Policy-Raw Score", CriteriaEntityField: "G143 Animal Testing Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4.4 Animal Welfare Policy", Level4: [{ Name: "G.1.4.4 Animal Welfare Policy", NameTemplate: "G.1.4.4 Animal Welfare Policy-Raw Score", CriteriaEntityField: "G144 Animal Welfare Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4.5 Policy on Emerging Technologies", Level4: [{ Name: "G.1.4.5 Policy on Emerging Technologies", NameTemplate: "G.1.4.5 Policy on Emerging Technologies-Raw Score", CriteriaEntityField: "G145 Policy on Emerging Technologies-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.1.4.6 Clinical Trial Standards", Level4: [{ Name: "G.1.4.6 Clinical Trial Standards", NameTemplate: "G.1.4.6 Clinical Trial Standards-Raw Score", CriteriaEntityField: "G146 Clinical Trial Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.1 ESG Reporting Standards", Level4: [{ Name: "G.2.1 ESG Reporting Standards", NameTemplate: "G.2.1 ESG Reporting Standards-Raw Score", CriteriaEntityField: "G21 ESG Reporting Standards-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.2 Verification of ESG Reporting", Level4: [{ Name: "G.2.2 Verification of ESG Reporting", NameTemplate: "G.2.2 Verification of ESG Reporting-Raw Score", CriteriaEntityField: "G22 Verification of ESG Reporting-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.3.1 Remuneration Disclosure", Level4: [{ Name: "G.2.3.1 Remuneration Disclosure", NameTemplate: "G.2.3.1 Remuneration Disclosure-Raw Score", CriteriaEntityField: "G231 Remuneration Disclosure-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.4.1 Director Disclosure", Level4: [{ Name: "G.2.4.1 Director Disclosure", NameTemplate: "G.2.4.1 Director Disclosure-Raw Score", CriteriaEntityField: "G241 Director Disclosure-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.5 ESG Governance", Level4: [{ Name: "G.2.5 ESG Governance", NameTemplate: "G.2.5 ESG Governance-Raw Score", CriteriaEntityField: "G25 ESG Governance-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.6 ESG Performance Targets", Level4: [{ Name: "G.2.6 ESG Performance Targets", NameTemplate: "G.2.6 ESG Performance Targets-Raw Score", CriteriaEntityField: "G26 ESG Performance Targets-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.7.1 Board Diversity", Level4: [{ Name: "G.2.7.1 Board Diversity", NameTemplate: "G.2.7.1 Board Diversity-Raw Score", CriteriaEntityField: "G271 Board Diversity-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.8.1 Board Leadership", Level4: [{ Name: "G.2.8.1 Board Leadership", NameTemplate: "G.2.8.1 Board Leadership-Raw Score", CriteriaEntityField: "G281 Board Leadership-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.9.1 Board Independence", Level4: [{ Name: "G.2.9.1 Board Independence", NameTemplate: "G.2.9.1 Board Independence-Raw Score", CriteriaEntityField: "G291 Board Independence-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.10.1 Audit Committee Structure", Level4: [{ Name: "G.2.10.1 Audit Committee Structure", NameTemplate: "G.2.10.1 Audit Committee Structure-Raw Score", CriteriaEntityField: "G2101 Audit Committee Structure-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.11.1 Auditor Fees", Level4: [{ Name: "G.2.11.1 Auditor Fees", NameTemplate: "G.2.11.1 Auditor Fees-Raw Score", CriteriaEntityField: "G2111 Auditor Fees-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.2.12.1 Remuneration Committee Effectiveness", Level4: [{ Name: "G.2.12.1 Remuneration Committee Effectiveness", NameTemplate: "G.2.12.1 Remuneration Committee Effectiveness-Raw Score", CriteriaEntityField: "G2121 Remuneration Committee Effectiveness-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.3.1 Political Involvement Policy", Level4: [{ Name: "G.3.1 Political Involvement Policy", NameTemplate: "G.3.1 Political Involvement Policy-Raw Score", CriteriaEntityField: "G31 Political Involvement Policy-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.3.2 Lobbying and Political Expenses", Level4: [{ Name: "G.3.2 Lobbying and Political Expenses", NameTemplate: "G.3.2 Lobbying and Political Expenses-Raw Score", CriteriaEntityField: "G32 Lobbying and Political Expenses-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
		{ Name: "G.3.3.1 Transparency on Government Payments", Level4: [{ Name: "G.3.3.1 Transparency on Government Payments", NameTemplate: "G.3.3.1 Transparency on Government Payments-Raw Score", CriteriaEntityField: "G331 Transparency on Government Payments-Raw Score", IsScreenable: true, CriteriaType: 5, HasFullRangeChart:false, HasOwnValue:false }] },
    ]}
]};

function uuid() {
    function s4() {
        return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
    }
    return s4() + s4() + "-" + s4() + "-" + s4() + "-" + s4() + "-" + s4() + s4() + s4();
}

function HexToBase64(hex) {
    var base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    var base64 = "";
    var group;
    for (var i = 0; i < 30; i += 6) {
        group = parseInt(hex.substr(i, 6), 16);
        base64 += base64Digits[(group >> 18) & 0x3f];
        base64 += base64Digits[(group >> 12) & 0x3f];
        base64 += base64Digits[(group >> 6) & 0x3f];
        base64 += base64Digits[group & 0x3f];
    }
    group = parseInt(hex.substr(30, 2), 16);
    base64 += base64Digits[(group >> 2) & 0x3f];
    base64 += base64Digits[(group << 4) & 0x3f];
    base64 += "==";
    return base64;
}

function NUUID(uuid) {
    var hex = uuid.replace(/[{}-]/g, ""); // remove extra characters
    var a = hex.substr(6, 2) + hex.substr(4, 2) + hex.substr(2, 2) + hex.substr(0, 2);
    var b = hex.substr(10, 2) + hex.substr(8, 2);
    var c = hex.substr(14, 2) + hex.substr(12, 2);
    var d = hex.substr(16, 16);
    hex = a + b + c + d;
    var base64 = HexToBase64(hex);
    return new BinData(3, base64);
}

function processLevel1(criteria) {
    if (!db.CriteriaLevel1.findOne({ Name: criteria.Name })) {
        db.CriteriaLevel1.insert({
            _id: NUUID(uuid()),
            Name: criteria.Name,
            ShortName: 'RiskRatings',
            Order: NumberInt(15)
        });
    }

    var criteriaLevel1Id = db.CriteriaLevel1.findOne({ Name: criteria.Name })._id;

    criteria.Level2.forEach(function (criteria, index) {
        processLevel2(criteriaLevel1Id, criteria, index);
    });
}

function processLevel2(criteriaLevel1Id, criteria, index) {
    if (!db.CriteriaLevel2.findOne({ Name: criteria.Name })) {
        db.CriteriaLevel2.insert({
            _id: NUUID(uuid()),
            CriteriaLevel1Id: criteriaLevel1Id,
            UniverseFeature: NumberInt(18),
            Name: criteria.Name,
            ShortName: 'RiskRatings',
            Order: NumberInt(3)
        });
    }

    var criteriaLevel2Id = db.CriteriaLevel2.findOne({ Name: criteria.Name })._id;
    var length = criteria.Level3.length;

    criteria.Level3.forEach(function (criteria, index) {
        processLevel3(criteriaLevel2Id, criteria, index+1);
    });
}

function processLevel3(criteriaLevel2Id, criteria, index) {
    if (!db.CriteriaLevel3.findOne({ Name: criteria.Name, CriteriaLevel2Id: criteriaLevel2Id })) 
    {
        db.CriteriaLevel3.insert({
            _id: NUUID(uuid()),
            Name: criteria.Name,
            ShortName: "",
            Order: NumberInt(index),
            CriteriaLevel2Id: criteriaLevel2Id,
            Category: "None"
        });
    }

    var criteriaLevel3Id = db.CriteriaLevel3.findOne({ Name: criteria.Name, CriteriaLevel2Id: criteriaLevel2Id })._id;
    
    criteria.Level4.forEach(function (criteria) {
        processLevel4(criteriaLevel2Id, criteriaLevel3Id, criteria, index);
    });
}

function processLevel4(criteriaLevel2Id, criteriaLevel3Id, criteria, index) {
    if (!db.TemplateCriteria.findOne({ Name: criteria.NameTemplate, CriteriaLevel2Id: criteriaLevel2Id })) {
        db.TemplateCriteria.insert({
            _id: NUUID(uuid()),
            Name: criteria.NameTemplate,
			CriteriaEntity:null,
            CriteriaEntityField: criteria.CriteriaEntityField,
            CriteriaType: NumberInt(criteria.CriteriaType),
            CriteriaLevel2Id: criteriaLevel2Id,
            CriteriaLevel3Id: criteriaLevel3Id,
            IsScreenable: criteria.IsScreenable,
            ResearchProducts: ["RiskRating"],
            HasFullRangeChart: criteria.HasFullRangeChart==false? false : true,
			HasOwnValue: criteria.HasOwnValue==false? false : true
       });
    }
}

processLevel1(criteria);    